package org.example.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.example.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author guocb
 * @since 2021-03-01
 */
public interface UserMapper extends BaseMapper<User> {

    //关联查询分页
    IPage<User> selectUserPage(IPage<User> page,
                               @Param("ew") Wrapper<User> queryWrapper);
}
